package com.ruicar.afs.cloud.bizcommon.face.feign;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.Map;

/**
 * @author mingzhi.li
 * @version 1.0
 * @Description 人脸识别
 * @date create on 2020年8月7日 21:54:28
 * @since 1.0
 */
@FeignClient(name = "FaceSTFeign", url = "${com.greatwall.systems.face-system.url}")
public interface FaceRecognitionFeign {
    /**
     * @param json
     * @param headers
     * @Description 人脸识别
     * @return
     */
    @ApiModelProperty(value = "人脸识别")
    @PostMapping(value = "/face/pair-package-photo")
    public JSONObject faceRecognitionCheck(@RequestBody JSONObject json, @RequestHeader Map<String, String> headers);
}
